import Vue    from 'vue';
import App    from './App'
import router from './router';
import store  from './store';
import http   from './http';
import Vueg   from 'vueg';
import Vant   from 'vant';

import 'vant/lib/vant-css/index.css';
import 'vant/lib/vant-css/icon-local.css';
import 'vueg/css/transition-min.css';
import './styles//iconfont.css';
import './styles/common.css';


Vue.config.productionTip = false;

Vue.use(Vant);

// Vueg Setting
Vue.use(Vueg, router, {
	tabs: [
		{ name: 'index' },
		{ name: 'classify' },
		{ name: 'shopping' },
		{ name: 'personal' }
	],
	tabsDisable : true
})

Vue.prototype.$http = http;

new Vue({
	el     : 'app',
	router : router,
	store  : store,
	render : h => h(App)
});